package com.logistics.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.easybuild.core.dao.AppBaseDao;
import cn.easybuild.core.service.StringPojoAppBaseServiceImpl;

import com.logistics.ExpressProperty;
import com.logistics.ExpressPropertyQueryParam;
import com.logistics.dao.ExpressPropertyDao;

@Service
public class ExpressPropertyServiceImpl extends StringPojoAppBaseServiceImpl<ExpressProperty> implements ExpressPropertyService {

	@Override
	public List<ExpressProperty> query(ExpressPropertyQueryParam param) {
		return dao.query(param);
	}
	
	public ExpressPropertyDao dao;

	@Autowired
	public void setDao(ExpressPropertyDao dao) {
		this.dao = dao;
	}

	@Override
	protected AppBaseDao<ExpressProperty, String> getDao() {
		return dao;
	}

}
